class Mailer < ActionMailer::Base

  def signup_notification(user)
    recipients user.email
    from       APP_CONFIG['email']
    subject    I18n.translate('mail.signup_notification_subject')
    body       :user => user
  end

  def job_notification(job)
    recipients   job.user.email
    from         APP_CONFIG['email']
    subject      I18n.translate('mail.job_notification_subject')
    content_type "text/html"
    body         :job => job
  end
end
